Safe and Effective Contracts

نویسندگان

  • Avraham Ever Shinnar
  • Greg Morrisett
چکیده

This dissertation introduces a framework enabling the dynamic verification of expressive specifications. Inspired by formal verification methods, this framework supports assertion, framing, and separation contracts. Assertion contracts specify what code should do, whereas framing contracts specify what code must not do. Separation contracts, inspired by separation logic, combine an explicit assertion contract with an implicit framing contract. In addition to supporting these expressive contracts, this framework also enables assertions to call existing code with side effects while ensuring that successful assertions do not affect the rest of the program. Contracts are guaranteed safe while remaining easy to write. This dissertation introduces a single interface, the delimited checkpoint, that supports all of the contracts listed above. Similar to previous work on equipping a programming language with first class stores, checkpoints represent a state in time. Computations can be run with memory restored to a checkpoint state. Checkpoints augment existing work with a novel family of difference operations that compare two checkpoints, revealing how the intervening computation interacted with memory. Additionally, checkpoints are delimited: they can only be used within a limited scope. This interface suffices to build assertion contracts that support time travel, framing contracts, and separation contracts. Additionally, it supports a novel suppression contract,

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Investigating the Effective Factors on Self-Control in the Operational Supervision System of Participatory Contracts

The purpose of this paper is to examine the factors affecting self-control and its evaluation in the operational supervision system of  participatory contracts. In this study, by combining the Herzberg theory and the belief system, a conceptual model consisting of five stages in the four supervisory levels of the bank is presented. In this research, a survey method is used to measure self-contr...

متن کامل

Examining the role of Smart Contracts in the development of the electronic registration system of documents

The document registration system is one of the most important instruments for guaranteeing the rights of individuals and preventing the occurrence of many disputes. In many developed countries, attempts have been made to change the system of registering transactions and documents. Thus, countries like the United States and Britain have changed the status of electronic registrations by adopting ...

متن کامل

Economic Evaluation of Fiscal Regime of Buy-Back Contracts in Comparison with Production Sharing Contracts (Case Study: Azadegan Oil Field)

F iscal regime is one of the main differences between petroleum contracts. Fiscal regimes in oil contracts are divided to two main categories namely Concessionary and Contractual Systems. In contractual systems, the main difference between service and production sharing contracts is the way of compensation of contractor services which could be in cash or in kind. In production sharin...

متن کامل

Benefits, Limitations and Administrative Methods of Learning Contracts in Nursing Clinical Education: A Narrative Review

Introduction: Learning contract is an individual and dynamic process through which students become self-directed and proactive in learning. Several studies have underscored using this method in nursing education. The purpose of this paper was to review benefits, limitations and administrative methods of learning contracts in nursing clinical education. Methods: This paper is a narrative review....

متن کامل

The Legal Issues of Electronic Contracts in Australia

The internet has transformed the manner of conducting commercial transactions and has created regulatory gaps. These regulatory gaps may impact the effective development of electronic commerce. Attempts are being made to regulate electronic contracts both at the national and international level. The present research analyses these attempts, in particular the Electronic Transaction Legislation ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2011